/**
* Response.js
*
* @description :: TODO: You might write a short summary of how this model works and what it represents here.
* @docs        :: http://sailsjs.org/#!documentation/models
*/

module.exports = {

	attributes: {

		vote: {
			model: 'vote',
			required: true
		},

		//identifying information
		
		device_id: {
			type: 'integer',
			//required: true
		},

		quiz_id: {
			type: 'integer',
			required: true
		},

		question_id: {
			type: 'integer',
			required: true
		},

		answer_id: {
			type: 'integer',
			required: true
		},

		//answer choice(s) selected

		//answer_selected: {
		//	type: 'integer',
		//	reqwuired: 'true'
		//}
	
	}

};



